package cn.softeem.tushu.service;



import cn.softeem.tushu.po.Book;
import cn.softeem.tushu.po.Category;
import cn.softeem.tushu.utils.PageBean;

import java.sql.SQLException;
import java.util.List;

public interface MainService {

    List<Category> getCategoryTwo() ;
    PageBean<Book> getBookList(String x, int pageNow, String type);
    Book getBookByid(String bid);
    PageBean<Book> searchList(String bname, int pageNow);
    PageBean<Book> searchProList(String bname, String author, String press, int pageNow);
}
